home *** CD-ROM | disk | FTP | other *** search
/ Erotic Games: Memory / Erotic Games: Memory.iso / mac / air_installers / AdobeAIR.exe / setup.swf / scripts / components / OSButtonBarHBox.as < prev   
Text File  |  2009-02-12  |  573b  |  26 lines

  1. package components
  2. {
  3.    import flash.display.DisplayObject;
  4.    import flash.system.Capabilities;
  5.    import mx.containers.HBox;
  6.    
  7.    public class OSButtonBarHBox extends HBox
  8.    {
  9.        
  10.       
  11.       public function OSButtonBarHBox()
  12.       {
  13.          super();
  14.       }
  15.       
  16.       override public function getChildAt(param1:int) : DisplayObject
  17.       {
  18.          if(Capabilities.os.indexOf("Mac") >= 0)
  19.          {
  20.             return super.getChildAt(numChildren - (param1 + 1));
  21.          }
  22.          return super.getChildAt(param1);
  23.       }
  24.    }
  25. }
  26.